//
//  HomeViewController.swift
//  AIPhotoProcess
//
//  Created by aw031 on 17/10/2025.
//

import UIKit
import WMZDialog
import SnapKit
class HomeViewController: BaseViewController {
    
    override func viewDidLoad() {
        super.viewDidLoad()

        // Do any additional setup after loading the view.
        
        view.backgroundColor = .red
        addTopImageView()
        addNavigationBar(.onlyLeftAndRight) { [weak self] (btn,index)  in
//            WZMDialogTool.showCenterAlertView(parentView: self?.view) { btnTag, dialogTag in
//                WMZDialog.closeWithshowView(self?.view, tag: dialogTag)
//            }
            if index == 2 {
                self?.pushSettingViewController()
            }
        }
        
        navigationViewBar.leftBtn.snp.updateConstraints { make in
            make.height.equalTo(42);
            make.width.equalTo(42);
        }
        navigationViewBar.leftBtn.setCustomImage(KImage("vipIcon"))
        navigationViewBar.rightBtn.setCustomImage(KImage("blackSetIcon"))
        
    }

    
}
